package homework;

/**
 * @classname:test
 * @description:
 * @author: Mr.Z
 * @date: 2020/12/19 22:35
 * @version: 0.1
 * @since:1.8
 */
public class test {


    public static void main(String[] args) {
        StringPool stringPool = new StringPool();
//      List<ProductThread> list = new ArrayList<>(10);
        ProductThread pr = new ProductThread("生产者", stringPool);
        ConsumeThread co = new ConsumeThread("消费者", stringPool);
        pr.start();
        co.start();

    }
}
